home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / pcr / pcr4_4.lha / DIST / debugnub / INCLUDE / xr / CirioNubTypes.h < prev    next >
C/C++ Source or Header  |  1992-03-03  |  3KB  |  121 lines

  1. /* begincopyright
  2.   Copyright (c) 1988 Xerox Corporation. All rights reserved.
  3.   Use and copying of this software and preparation of derivative works based
  4.   upon this software are permitted. Any distribution of this software or
  5.   derivative works must comply with all applicable United States export
  6.   control laws. This software is made available AS IS, and Xerox Corporation
  7.   makes no warranty about the software, its performance or its conformity to
  8.   any specification. Any person obtaining a copy of this software is requested
  9.   to send their name and post office or electronic mail address to:
  10.     PCR Coordinator
  11.     Xerox PARC
  12.     3333 Coyote Hill Rd.
  13.     Palo Alto, CA 94304
  14.   endcopyright */
  15.  
  16. /*
  17.  * CirioNubTypes.h
  18.  *
  19.  * Demers, February 25, 1992 1:46:08 pm PST
  20.  *
  21.  * CirioNub types.
  22.  */
  23.  
  24. #ifndef _CIRIO_NUB_TYPES_
  25. #define _CIRIO_NUB_TYPES_
  26.  
  27. #ifndef _XR_BASIC_TYPES_
  28. #   include "xr/BasicTypes.h"
  29. #endif
  30.  
  31. #ifndef _XR_THREADS_
  32. #   include "xr/Threads.h"
  33. #endif
  34.  
  35. #include <sys/types.h>
  36.  
  37. /*
  38.  * Thread descriptor
  39.  */
  40.  
  41. typedef struct CirioNubThreadDataRep {
  42.     unsigned cntd_index;
  43.     unsigned cntd_gen;
  44.     XR_SStat cntd_sStat;
  45.     XR_Pri cntd_pri;
  46.     XR_DBMsg cntd_dbMsg;
  47.     bool cntd_dbFrozen;
  48.     XR_Pointer cntd_pc;
  49.     XR_Pointer cntd_sp;
  50.     XR_Pointer cntd_fp;
  51. } * CirioNubThreadData;
  52.  
  53. /*
  54.  * Procedure info
  55.  */
  56.  
  57. typedef struct CirioNubPCInfoRep {
  58.     char *procName;
  59.     unsigned procSymID;
  60.     char *fileName;
  61.     unsigned fileSeqNum;
  62.     char *guessedEmbeddedFileName;
  63.     unsigned guessedEmbeddedFileSymID;
  64. } *CirioNubPCInfo;
  65.  
  66. /*
  67.  * File description
  68.  */
  69.  
  70. typedef struct CirioNubFileEntryRep {
  71.     unsigned seqNum;
  72.     bool commitPoint;
  73.     char *fileName;
  74.     unsigned fOffset;
  75.     unsigned fMagic;
  76.     size_t size;
  77.     time_t mTime;
  78.     unsigned sMagic;
  79.     XR_Pointer stamp;
  80.     unsigned stampSize;
  81.     XR_Pointer readerData;
  82.     unsigned readerDataSize;
  83.     XR_Pointer patchReloc;
  84.     unsigned patchSize;
  85.     XR_Pointer textReloc;
  86.     unsigned textSize;
  87.     XR_Pointer dataReloc;
  88.     unsigned dataSize;
  89.     XR_Pointer bssReloc;
  90.     unsigned bssSize;
  91.     XR_Pointer commonReloc;
  92.     unsigned commonSize;
  93. } * CirioNubFileEntry;
  94.  
  95.  
  96. /*
  97.  * Symbol table entry
  98.  */
  99.  
  100. typedef struct CirioNubSymEntryRep {
  101.     unsigned symID;
  102.     char *name;
  103.     unsigned type;
  104.     unsigned value;
  105.     unsigned size;
  106.     unsigned fileSeqNum;
  107. } *CirioNubSymEntry;
  108.  
  109.  
  110. /*
  111.  * Instruction Set + Operating System names
  112.  */
  113.  
  114. typedef struct CirioNubInstrSetAndOpSysRep {
  115.     char *instrSet;
  116.     char *opSys;
  117. } *CirioNubInstrSetAndOpSys;
  118.  
  119.  
  120. #endif /* _CIRIO_NUB_TYPES_ */
  121.